Represents a collection of subindexes attached to an IndexDefinition<(Of <(<'T>)>)>.
Namespace:
C1.LiveLinq.IndexingAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
[DefaultMemberAttribute("Item")] public sealed class SubindexCollection<T> : IList<Subindex<T>>, ICollection<Subindex<T>>, IEnumerable<Subindex<T>>, IEnumerable, IDefinitionCollection<T> |
Visual Basic |
---|
<DefaultMemberAttribute("Item")> _ Public NotInheritable Class SubindexCollection(Of T) _ Implements IList(Of Subindex(Of T)), ICollection(Of Subindex(Of T)), _ IEnumerable(Of Subindex(Of T)), IEnumerable, IDefinitionCollection(Of T) |
Type Parameters
- T
- The type of the elements of the collection to index.
Remarks
A Subindex<(Of <(<'T, TKey>)>)> is attached to its parent index definition, which is an Index<(Of <(<'T, TKey>)>)> or another Subindex<(Of <(<'T, TKey>)>)>. The subindexes collection is stored in the parent's Subindexes property.
Subindexes are optional, not required for any indexing tasks, but can provide additional optimization and help minimize memory requirements when a collection is indexed by multi-level (multi-field) keys.